<?php
$sqlPath = FRAMEWORK_PATH."/install/install.sql";

if(!file_exists($sqlPath)){
    $response->responseData(false,"没有找到安装数据表的相关文件信息");
}

//获取要执行SQL文件的内容
$createTableSqlText = file_get_contents($sqlPath);


//执行表创建
$createRS = $db->mysqlDB->query($createTableSqlText);

if($createRS){
    $response->responseData(false,"数据表创建失败，缺少顶部执行表总数声明");
}

$response->responseData(true,"系统内置数据表创建成功");
